<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8" />
    <title>CSS accessibility: Task 2</title>
    <link rel="stylesheet" href="../styles.css" />
    <style>
      body {
        background-color: #fff;
        color: #333;
        font: 1em / 1.4 Helvetica Neue, Helvetica, Arial, sans-serif;
        padding: 1em;
        margin: 0;
      }

      * {
        box-sizing: border-box;
      }
    </style>

    <style class="editable">
      main {
        padding: 20px;
        background-color: red;
      }

      h1, h2, p {
        color: #999;
      }

      h1 {
        font-size: 2vw;
      }

      h2 {
        font-size: 1.5vw;
      }

      p {
        font-size: 1.2vw;
      }
    </style>
  </head>

  <body>
    <section class="preview">

      <main>
        <h1>I am the eggman</h1>

        <p>Prow scuttle parrel provost Sail ho shrouds spirits boom mizzenmast yardarm. Pinnace holystone mizzenmast quarter crow's nest nipperkin grog yardarm hempen halter furl.</p>

        <h2>They are the eggman</h2>

        <p>Swab barque interloper chantey doubloon starboard grog black jack gangway rutters.</p>

        <h2>I am the walrus</h2>

        <p>Deadlights jack lad schooner scallywag dance the hempen jig carouser broadside cable strike colors.</p>
      </main>

    </section>

    <textarea class="playable playable-css" style="height: 130px;">
main {
  padding: 20px;
  background-color: red;
}

h1, h2, p {
  color: #999;
}

h1 {
  font-size: 2vw;
}

h2 {
  font-size: 1.5vw;
}

p {
  font-size: 1.2vw;
}
    </textarea>

    <textarea class="playable playable-html" style="height: 220px;">
<main>
  <h1>I am the eggman</h1>

  <p>Prow scuttle parrel provost Sail ho shrouds spirits boom mizzenmast yardarm. Pinnace holystone mizzenmast quarter crow's nest nipperkin grog yardarm hempen halter furl.</p>

  <h2>They are the eggman</h2>

  <p>Swab barque interloper chantey doubloon starboard grog black jack gangway rutters.</p>

  <h2>I am the walrus</h2>

  <p>Deadlights jack lad schooner scallywag dance the hempen jig carouser broadside cable strike colors.</p>
</main>
    </textarea>

    <div class="playable-buttons">
      <input id="reset" type="button" value="Reset" />
    </div>
  </body>
  <script src="../playable.js"></script>
</html>
